<template>
	<view class="OpeningPage">
		<image src="https://wms-1306213729.cos.ap-beijing.myqcloud.com/wms_app/OpeningPage.gif" mode="scaleToFill" />
	</view>
</template>
<script setup lang="ts">
	import { onLoad } from "@dcloudio/uni-app";

	onLoad((options) => {
		setTimeout(() => {
			uni.reLaunch({
				url: "/pages/Home/Home",
			});
			console.log("去首页")
		}, 1000);
	});
</script>
<style>
	page {
		background: #fff;
	}
</style>

<style lang="scss" scoped>
	.OpeningPage {
		position: absolute;
		top: 50%;
		left: 50rpx;
		right: 0;
		transform: translateY(-50%);
		margin: 0 auto;
		width: 281px;
		height: 350px;

		image {
			width: 100%;
			height: 100%;
		}
	}
</style>